from flask import Flask, current_app, Request, request

'''
current_app, request, session
LocalProxy
应用上下文对象 Flask
请求上下文 对象 Request
Flask AppContext
Request RequestContext

'''
app = Flask(__name__)
a = current_app
ctx = app.app_context()
ctx.push()      # 入栈
d = current_app.config['DEBUG']
ctx.pop()
